# -*- coding: utf-8 -*- 

###########################################################################
## Python code generated with wxFormBuilder (version Nov 17 2010)
## http://www.wxformbuilder.org/
##
## PLEASE DO "NOT" EDIT THIS FILE!
###########################################################################

import wx
import wx.richtext

ID_TOOL_BOLD = 1000
ID_TOOL_ITALIC = 1001
ID_TOOL_UNDERLINE = 1002

###########################################################################
## Class frame_main
###########################################################################

class frame_main ( wx.Frame ):
	
	def __init__( self, parent ):
		wx.Frame.__init__ ( self, parent, id = wx.ID_ANY, title = u"Poznámkový blok o knihách", pos = wx.DefaultPosition, size = wx.Size( 891,558 ), style = wx.DEFAULT_FRAME_STYLE|wx.TAB_TRAVERSAL )
		
		self.SetSizeHintsSz( wx.DefaultSize, wx.DefaultSize )
		
		bSizer1 = wx.BoxSizer( wx.VERTICAL )
		
		self.m_panel1 = wx.Panel( self, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.TAB_TRAVERSAL )
		bSizer4 = wx.BoxSizer( wx.VERTICAL )
		
		self.m_splitter10 = wx.SplitterWindow( self.m_panel1, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.SP_3D|wx.SP_3DSASH|wx.SP_LIVE_UPDATE )
		self.m_splitter10.Bind( wx.EVT_IDLE, self.m_splitter10OnIdle )
		self.m_splitter10.SetMinimumPaneSize( 1 )
		
		self.m_panel12 = wx.Panel( self.m_splitter10, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.TAB_TRAVERSAL )
		bSizer5 = wx.BoxSizer( wx.VERTICAL )
		
		self.m_splitter11 = wx.SplitterWindow( self.m_panel12, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.SP_3D|wx.SP_LIVE_UPDATE )
		self.m_splitter11.Bind( wx.EVT_IDLE, self.m_splitter11OnIdle )
		
		self.m_panel14 = wx.Panel( self.m_splitter11, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.TAB_TRAVERSAL )
		sbSizer4 = wx.StaticBoxSizer( wx.StaticBox( self.m_panel14, wx.ID_ANY, u"Kategorie" ), wx.VERTICAL )
		
		list_tagsChoices = []
		self.list_tags = wx.ListBox( self.m_panel14, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, list_tagsChoices, wx.LB_HSCROLL|wx.LB_MULTIPLE|wx.LB_NEEDED_SB|wx.LB_SORT )
		sbSizer4.Add( self.list_tags, 1, wx.ALL|wx.EXPAND, 5 )
		
		self.m_panel14.SetSizer( sbSizer4 )
		self.m_panel14.Layout()
		sbSizer4.Fit( self.m_panel14 )
		self.m_panel15 = wx.Panel( self.m_splitter11, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.TAB_TRAVERSAL )
		sbSizer2 = wx.StaticBoxSizer( wx.StaticBox( self.m_panel15, wx.ID_ANY, u"Publikace" ), wx.VERTICAL )
		
		self.list_books = wx.ListCtrl( self.m_panel15, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.LC_REPORT|wx.LC_SORT_ASCENDING )
		self.menu_booksList = wx.Menu()
		self.menu_newBook = wx.MenuItem( self.menu_booksList, wx.ID_ANY, u"Nová publikace", wx.EmptyString, wx.ITEM_NORMAL )
		self.menu_booksList.AppendItem( self.menu_newBook )
		
		self.menu_deleteBooks = wx.MenuItem( self.menu_booksList, wx.ID_ANY, u"Smazat vybrané", wx.EmptyString, wx.ITEM_NORMAL )
		self.menu_booksList.AppendItem( self.menu_deleteBooks )
		
		self.list_books.Bind( wx.EVT_RIGHT_DOWN, self.list_booksOnContextMenu ) 
		
		sbSizer2.Add( self.list_books, 1, wx.EXPAND|wx.ALL, 5 )
		
		self.button_newBook = wx.Button( self.m_panel15, wx.ID_ANY, u"Nová publikace", wx.DefaultPosition, wx.DefaultSize, 0 )
		sbSizer2.Add( self.button_newBook, 0, wx.ALL|wx.ALIGN_RIGHT, 5 )
		
		self.m_panel15.SetSizer( sbSizer2 )
		self.m_panel15.Layout()
		sbSizer2.Fit( self.m_panel15 )
		self.m_splitter11.SplitHorizontally( self.m_panel14, self.m_panel15, 123 )
		bSizer5.Add( self.m_splitter11, 1, wx.EXPAND, 5 )
		
		self.m_panel12.SetSizer( bSizer5 )
		self.m_panel12.Layout()
		bSizer5.Fit( self.m_panel12 )
		self.m_panel13 = wx.Panel( self.m_splitter10, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.TAB_TRAVERSAL )
		bSizer6 = wx.BoxSizer( wx.VERTICAL )
		
		self.notebook_main = wx.Notebook( self.m_panel13, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, 0 )
		self.panel_book = wx.Panel( self.notebook_main, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.TAB_TRAVERSAL )
		bSizer10 = wx.BoxSizer( wx.VERTICAL )
		
		self.notebook_book = wx.Notebook( self.panel_book, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, 0 )
		self.panel_bookGeneralInfo = wx.Panel( self.notebook_book, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.TAB_TRAVERSAL )
		bSizer13 = wx.BoxSizer( wx.VERTICAL )
		
		fgSizer3 = wx.FlexGridSizer( 2, 2, 0, 0 )
		fgSizer3.AddGrowableCol( 1 )
		fgSizer3.SetFlexibleDirection( wx.BOTH )
		fgSizer3.SetNonFlexibleGrowMode( wx.FLEX_GROWMODE_SPECIFIED )
		
		self.m_staticText3 = wx.StaticText( self.panel_bookGeneralInfo, wx.ID_ANY, u"Název:", wx.DefaultPosition, wx.DefaultSize, 0 )
		self.m_staticText3.Wrap( -1 )
		fgSizer3.Add( self.m_staticText3, 0, wx.ALL, 5 )
		
		self.text_bookName = wx.TextCtrl( self.panel_bookGeneralInfo, wx.ID_ANY, wx.EmptyString, wx.DefaultPosition, wx.DefaultSize, 0 )
		fgSizer3.Add( self.text_bookName, 0, wx.ALL|wx.EXPAND, 5 )
		
		self.m_staticText4 = wx.StaticText( self.panel_bookGeneralInfo, wx.ID_ANY, u"Autor:", wx.DefaultPosition, wx.DefaultSize, 0 )
		self.m_staticText4.Wrap( -1 )
		fgSizer3.Add( self.m_staticText4, 0, wx.ALL, 5 )
		
		self.text_bookAuthor = wx.TextCtrl( self.panel_bookGeneralInfo, wx.ID_ANY, wx.EmptyString, wx.DefaultPosition, wx.Size( 200,-1 ), 0 )
		fgSizer3.Add( self.text_bookAuthor, 0, wx.ALL, 5 )
		
		self.m_staticText5 = wx.StaticText( self.panel_bookGeneralInfo, wx.ID_ANY, u"ISBN:", wx.DefaultPosition, wx.DefaultSize, 0 )
		self.m_staticText5.Wrap( -1 )
		fgSizer3.Add( self.m_staticText5, 0, wx.ALL, 5 )
		
		self.text_bookISBN = wx.TextCtrl( self.panel_bookGeneralInfo, wx.ID_ANY, wx.EmptyString, wx.DefaultPosition, wx.Size( 200,-1 ), 0 )
		fgSizer3.Add( self.text_bookISBN, 0, wx.ALL, 5 )
		
		self.m_staticText6 = wx.StaticText( self.panel_bookGeneralInfo, wx.ID_ANY, u"Popis:", wx.DefaultPosition, wx.DefaultSize, 0 )
		self.m_staticText6.Wrap( -1 )
		fgSizer3.Add( self.m_staticText6, 0, wx.ALL, 5 )
		
		self.text_bookDesc = wx.TextCtrl( self.panel_bookGeneralInfo, wx.ID_ANY, wx.EmptyString, wx.DefaultPosition, wx.DefaultSize, wx.TE_MULTILINE )
		fgSizer3.Add( self.text_bookDesc, 0, wx.ALL|wx.EXPAND, 5 )
		
		self.m_staticText7 = wx.StaticText( self.panel_bookGeneralInfo, wx.ID_ANY, u"Žánr:", wx.DefaultPosition, wx.DefaultSize, 0 )
		self.m_staticText7.Wrap( -1 )
		fgSizer3.Add( self.m_staticText7, 0, wx.ALL, 5 )
		
		self.text_bookGenre = wx.TextCtrl( self.panel_bookGeneralInfo, wx.ID_ANY, wx.EmptyString, wx.DefaultPosition, wx.Size( 200,-1 ), 0 )
		fgSizer3.Add( self.text_bookGenre, 0, wx.ALL, 5 )
		
		self.m_staticText12 = wx.StaticText( self.panel_bookGeneralInfo, wx.ID_ANY, u"Tagy:", wx.DefaultPosition, wx.DefaultSize, 0 )
		self.m_staticText12.Wrap( -1 )
		fgSizer3.Add( self.m_staticText12, 0, wx.ALL, 5 )
		
		self.text_bookTags = wx.TextCtrl( self.panel_bookGeneralInfo, wx.ID_ANY, wx.EmptyString, wx.DefaultPosition, wx.Size( 200,-1 ), 0 )
		fgSizer3.Add( self.text_bookTags, 0, wx.ALL, 5 )
		
		bSizer13.Add( fgSizer3, 0, wx.EXPAND, 5 )
		
		self.panel_bookGeneralInfo.SetSizer( bSizer13 )
		self.panel_bookGeneralInfo.Layout()
		bSizer13.Fit( self.panel_bookGeneralInfo )
		self.notebook_book.AddPage( self.panel_bookGeneralInfo, u"Základní údaje", True )
		self.panel_bookNotes = wx.Panel( self.notebook_book, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.TAB_TRAVERSAL )
		bSizer16 = wx.BoxSizer( wx.VERTICAL )
		
		bSizer17 = wx.BoxSizer( wx.HORIZONTAL )
		
		self.button_bookNewNote = wx.Button( self.panel_bookNotes, wx.ID_ANY, u"Nová poznámka", wx.DefaultPosition, wx.DefaultSize, 0 )
		bSizer17.Add( self.button_bookNewNote, 0, wx.ALL, 5 )
		
		bSizer16.Add( bSizer17, 0, wx.EXPAND, 5 )
		
		self.list_bookNotes = wx.ListCtrl( self.panel_bookNotes, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.LC_REPORT|wx.LC_SINGLE_SEL )
		bSizer16.Add( self.list_bookNotes, 1, wx.ALL|wx.EXPAND, 5 )
		
		self.panel_bookNotes.SetSizer( bSizer16 )
		self.panel_bookNotes.Layout()
		bSizer16.Fit( self.panel_bookNotes )
		self.notebook_book.AddPage( self.panel_bookNotes, u"Poznámky", False )
		
		bSizer10.Add( self.notebook_book, 1, wx.EXPAND |wx.ALL, 5 )
		
		self.button_bookSave = wx.Button( self.panel_book, wx.ID_ANY, u"Uložit", wx.DefaultPosition, wx.DefaultSize, 0 )
		bSizer10.Add( self.button_bookSave, 0, wx.ALL|wx.ALIGN_RIGHT, 5 )
		
		self.panel_book.SetSizer( bSizer10 )
		self.panel_book.Layout()
		bSizer10.Fit( self.panel_book )
		self.notebook_main.AddPage( self.panel_book, u"Publikace - \"Název publikace\"", False )
		self.panel_notes = wx.Panel( self.notebook_main, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.TAB_TRAVERSAL )
		bSizer18 = wx.BoxSizer( wx.VERTICAL )
		
		bSizer19 = wx.BoxSizer( wx.HORIZONTAL )
		
		bSizer21 = wx.BoxSizer( wx.VERTICAL )
		
		self.button_notesNewNote = wx.Button( self.panel_notes, wx.ID_ANY, u"Nová poznámka", wx.DefaultPosition, wx.DefaultSize, 0 )
		bSizer21.Add( self.button_notesNewNote, 0, wx.ALL, 5 )
		
		bSizer19.Add( bSizer21, 1, wx.EXPAND, 5 )
		
		bSizer18.Add( bSizer19, 0, wx.EXPAND, 5 )
		
		self.list_notes = wx.ListCtrl( self.panel_notes, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.LC_REPORT )
		bSizer18.Add( self.list_notes, 1, wx.ALL|wx.EXPAND, 5 )
		
		bSizer22 = wx.BoxSizer( wx.HORIZONTAL )
		
		bSizer23 = wx.BoxSizer( wx.HORIZONTAL )
		
		self.m_staticText10 = wx.StaticText( self.panel_notes, wx.ID_ANY, u"Položek na stránku:", wx.DefaultPosition, wx.DefaultSize, 0 )
		self.m_staticText10.Wrap( -1 )
		bSizer23.Add( self.m_staticText10, 0, wx.ALL|wx.ALIGN_CENTER_VERTICAL, 5 )
		
		self.spin_notesPerPage = wx.SpinCtrl( self.panel_notes, wx.ID_ANY, wx.EmptyString, wx.DefaultPosition, wx.DefaultSize, wx.SP_ARROW_KEYS, 1, 100, 30 )
		bSizer23.Add( self.spin_notesPerPage, 0, wx.ALL, 5 )
		
		bSizer22.Add( bSizer23, 1, wx.EXPAND, 5 )
		
		bSizer24 = wx.BoxSizer( wx.HORIZONTAL )
		
		self.m_staticText11 = wx.StaticText( self.panel_notes, wx.ID_ANY, u"Stránka:", wx.DefaultPosition, wx.DefaultSize, 0 )
		self.m_staticText11.Wrap( -1 )
		bSizer24.Add( self.m_staticText11, 0, wx.ALL|wx.ALIGN_CENTER_VERTICAL, 5 )
		
		self.spin_notesPage = wx.SpinCtrl( self.panel_notes, wx.ID_ANY, wx.EmptyString, wx.DefaultPosition, wx.Size( 50,-1 ), wx.SP_ARROW_KEYS, 1, 10, 1 )
		bSizer24.Add( self.spin_notesPage, 0, wx.ALL, 5 )
		
		self.static_notesPageMax = wx.StaticText( self.panel_notes, wx.ID_ANY, u"/ 1", wx.DefaultPosition, wx.DefaultSize, 0 )
		self.static_notesPageMax.Wrap( -1 )
		bSizer24.Add( self.static_notesPageMax, 0, wx.ALL|wx.ALIGN_CENTER_VERTICAL, 5 )
		
		bSizer22.Add( bSizer24, 0, wx.EXPAND, 5 )
		
		bSizer18.Add( bSizer22, 0, wx.EXPAND, 5 )
		
		self.panel_notes.SetSizer( bSizer18 )
		self.panel_notes.Layout()
		bSizer18.Fit( self.panel_notes )
		self.notebook_main.AddPage( self.panel_notes, u"Poznámky - přehled", True )
		self.panel_note = wx.Panel( self.notebook_main, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.TAB_TRAVERSAL )
		bSizer181 = wx.BoxSizer( wx.VERTICAL )
		
		self.notebook_note = wx.Notebook( self.panel_note, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, 0 )
		self.panel_noteContent = wx.Panel( self.notebook_note, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.TAB_TRAVERSAL )
		bSizer191 = wx.BoxSizer( wx.VERTICAL )
		
		fgSizer32 = wx.FlexGridSizer( 2, 2, 0, 0 )
		fgSizer32.AddGrowableCol( 1 )
		fgSizer32.SetFlexibleDirection( wx.BOTH )
		fgSizer32.SetNonFlexibleGrowMode( wx.FLEX_GROWMODE_SPECIFIED )
		
		self.m_staticText13 = wx.StaticText( self.panel_noteContent, wx.ID_ANY, u"Název:", wx.DefaultPosition, wx.DefaultSize, 0 )
		self.m_staticText13.Wrap( -1 )
		fgSizer32.Add( self.m_staticText13, 0, wx.ALL, 5 )
		
		self.text_noteName = wx.TextCtrl( self.panel_noteContent, wx.ID_ANY, wx.EmptyString, wx.DefaultPosition, wx.DefaultSize, 0 )
		fgSizer32.Add( self.text_noteName, 0, wx.ALL|wx.EXPAND, 5 )
		
		self.m_staticText14 = wx.StaticText( self.panel_noteContent, wx.ID_ANY, u"Tagy:", wx.DefaultPosition, wx.DefaultSize, 0 )
		self.m_staticText14.Wrap( -1 )
		fgSizer32.Add( self.m_staticText14, 0, wx.ALL, 5 )
		
		self.text_noteTags = wx.TextCtrl( self.panel_noteContent, wx.ID_ANY, wx.EmptyString, wx.DefaultPosition, wx.Size( 200,-1 ), 0 )
		fgSizer32.Add( self.text_noteTags, 0, wx.ALL, 5 )
		
		self.m_staticText20 = wx.StaticText( self.panel_noteContent, wx.ID_ANY, u"Publikace:", wx.DefaultPosition, wx.DefaultSize, 0 )
		self.m_staticText20.Wrap( -1 )
		fgSizer32.Add( self.m_staticText20, 0, wx.ALL, 5 )
		
		self.hyperlink_noteCurrentBook = wx.HyperlinkCtrl( self.panel_noteContent, wx.ID_ANY, u"- vybrat publikaci -", wx.EmptyString, wx.DefaultPosition, wx.Size( 400,-1 ), wx.HL_ALIGN_LEFT|wx.NO_BORDER )
		fgSizer32.Add( self.hyperlink_noteCurrentBook, 0, wx.ALL, 5 )
		
		bSizer191.Add( fgSizer32, 0, wx.EXPAND, 5 )
		
		sbSizer5 = wx.StaticBoxSizer( wx.StaticBox( self.panel_noteContent, wx.ID_ANY, u"Obsah:" ), wx.VERTICAL )
		
		self.toolbar_noteContent = wx.ToolBar( self.panel_noteContent, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.TB_HORIZONTAL ) 
		self.toolbar_noteContent.AddLabelTool( ID_TOOL_BOLD, u"Tučně", wx.Bitmap( u"GUI/img/b.ico", wx.BITMAP_TYPE_ANY ), wx.NullBitmap, wx.ITEM_CHECK, wx.EmptyString, u"Změní písmo na tučné", None)
		self.toolbar_noteContent.AddLabelTool( ID_TOOL_ITALIC, u"Kurzíva", wx.Bitmap( u"GUI/img/i.ico", wx.BITMAP_TYPE_ANY ), wx.NullBitmap, wx.ITEM_CHECK, wx.EmptyString, u"Změní písmo na kurzívu", None)
		self.toolbar_noteContent.AddLabelTool( ID_TOOL_UNDERLINE, u"Podtržené", wx.Bitmap( u"GUI/img/u.ico", wx.BITMAP_TYPE_ANY ), wx.NullBitmap, wx.ITEM_CHECK, wx.EmptyString, u"Změní písmo na podtržené", None)
		self.toolbar_noteContent.Realize() 
		
		sbSizer5.Add( self.toolbar_noteContent, 0, wx.EXPAND, 5 )
		
		self.rich_noteContent = wx.richtext.RichTextCtrl( self.panel_noteContent, wx.ID_ANY, wx.EmptyString, wx.DefaultPosition, wx.DefaultSize, 0|wx.HSCROLL|wx.VSCROLL|wx.WANTS_CHARS )
		sbSizer5.Add( self.rich_noteContent, 1, wx.EXPAND |wx.ALL, 5 )
		
		bSizer191.Add( sbSizer5, 1, wx.EXPAND, 5 )
		
		self.panel_noteContent.SetSizer( bSizer191 )
		self.panel_noteContent.Layout()
		bSizer191.Fit( self.panel_noteContent )
		self.notebook_note.AddPage( self.panel_noteContent, u"Obsah", True )
		self.panel_noteBook = wx.Panel( self.notebook_note, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.TAB_TRAVERSAL )
		bSizer231 = wx.BoxSizer( wx.VERTICAL )
		
		fgSizer31 = wx.FlexGridSizer( 2, 2, 0, 0 )
		fgSizer31.SetFlexibleDirection( wx.BOTH )
		fgSizer31.SetNonFlexibleGrowMode( wx.FLEX_GROWMODE_SPECIFIED )
		
		self.radio_noteBookNone = wx.RadioButton( self.panel_noteBook, wx.ID_ANY, u"Žádná", wx.DefaultPosition, wx.DefaultSize, wx.RB_GROUP )
		self.radio_noteBookNone.SetValue( True ) 
		fgSizer31.Add( self.radio_noteBookNone, 0, wx.ALL, 5 )
		
		
		fgSizer31.AddSpacer( ( 0, 0), 1, wx.EXPAND, 5 )
		
		self.radio_noteBookOpened = wx.RadioButton( self.panel_noteBook, wx.ID_ANY, u"Aktuálně otevřená:", wx.DefaultPosition, wx.DefaultSize, 0 )
		fgSizer31.Add( self.radio_noteBookOpened, 0, wx.ALL, 5 )
		
		self.hyperlink_noteOpenedBook = wx.HyperlinkCtrl( self.panel_noteBook, wx.ID_ANY, u"Název publikace", wx.EmptyString, wx.DefaultPosition, wx.Size( 400,-1 ), wx.HL_ALIGN_LEFT|wx.NO_BORDER )
		fgSizer31.Add( self.hyperlink_noteOpenedBook, 0, wx.ALL, 5 )
		
		self.radio_noteBookOther = wx.RadioButton( self.panel_noteBook, wx.ID_ANY, u"Jiná:", wx.DefaultPosition, wx.DefaultSize, 0 )
		fgSizer31.Add( self.radio_noteBookOther, 0, wx.ALL, 5 )
		
		bSizer231.Add( fgSizer31, 0, wx.EXPAND, 5 )
		
		self.m_splitter3 = wx.SplitterWindow( self.panel_noteBook, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.SP_3D )
		self.m_splitter3.Bind( wx.EVT_IDLE, self.m_splitter3OnIdle )
		
		self.m_panel161 = wx.Panel( self.m_splitter3, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.TAB_TRAVERSAL )
		sbSizer3 = wx.StaticBoxSizer( wx.StaticBox( self.m_panel161, wx.ID_ANY, u"Kategorie" ), wx.VERTICAL )
		
		list_noteTagsChoices = []
		self.list_noteTags = wx.ListBox( self.m_panel161, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, list_noteTagsChoices, wx.LB_HSCROLL|wx.LB_MULTIPLE|wx.LB_NEEDED_SB|wx.LB_SORT )
		sbSizer3.Add( self.list_noteTags, 1, wx.ALL|wx.EXPAND, 5 )
		
		self.m_panel161.SetSizer( sbSizer3 )
		self.m_panel161.Layout()
		sbSizer3.Fit( self.m_panel161 )
		self.m_panel17 = wx.Panel( self.m_splitter3, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.TAB_TRAVERSAL )
		sbSizer41 = wx.StaticBoxSizer( wx.StaticBox( self.m_panel17, wx.ID_ANY, u"Publikace" ), wx.VERTICAL )
		
		self.list_noteBooks = wx.ListCtrl( self.m_panel17, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.LC_REPORT|wx.LC_SINGLE_SEL|wx.LC_SORT_ASCENDING )
		sbSizer41.Add( self.list_noteBooks, 1, wx.ALL|wx.EXPAND, 5 )
		
		self.m_panel17.SetSizer( sbSizer41 )
		self.m_panel17.Layout()
		sbSizer41.Fit( self.m_panel17 )
		self.m_splitter3.SplitVertically( self.m_panel161, self.m_panel17, 166 )
		bSizer231.Add( self.m_splitter3, 1, wx.EXPAND, 5 )
		
		self.panel_noteBook.SetSizer( bSizer231 )
		self.panel_noteBook.Layout()
		bSizer231.Fit( self.panel_noteBook )
		self.notebook_note.AddPage( self.panel_noteBook, u"Publikace", False )
		
		bSizer181.Add( self.notebook_note, 1, wx.EXPAND |wx.ALL, 5 )
		
		self.button_noteSave = wx.Button( self.panel_note, wx.ID_ANY, u"Uložit", wx.DefaultPosition, wx.DefaultSize, 0 )
		bSizer181.Add( self.button_noteSave, 0, wx.ALL|wx.ALIGN_RIGHT, 5 )
		
		self.panel_note.SetSizer( bSizer181 )
		self.panel_note.Layout()
		bSizer181.Fit( self.panel_note )
		self.notebook_main.AddPage( self.panel_note, u"Nová poznámka", False )
		
		bSizer6.Add( self.notebook_main, 1, wx.EXPAND |wx.ALL, 5 )
		
		self.m_panel13.SetSizer( bSizer6 )
		self.m_panel13.Layout()
		bSizer6.Fit( self.m_panel13 )
		self.m_splitter10.SplitVertically( self.m_panel12, self.m_panel13, 186 )
		bSizer4.Add( self.m_splitter10, 1, wx.EXPAND|wx.ALL, 5 )
		
		self.m_panel1.SetSizer( bSizer4 )
		self.m_panel1.Layout()
		bSizer4.Fit( self.m_panel1 )
		bSizer1.Add( self.m_panel1, 1, wx.EXPAND, 5 )
		
		self.SetSizer( bSizer1 )
		self.Layout()
		self.m_statusBar1 = self.CreateStatusBar( 1, wx.ST_SIZEGRIP, wx.ID_ANY )
		self.m_menubar1 = wx.MenuBar( 0 )
		self.menu_file = wx.Menu()
		self.menu_fileNewNote = wx.MenuItem( self.menu_file, wx.ID_ANY, u"Nová poznámka"+ u"\t" + u"Ctrl+N", wx.EmptyString, wx.ITEM_NORMAL )
		self.menu_file.AppendItem( self.menu_fileNewNote )
		
		self.menu_fileNewBook = wx.MenuItem( self.menu_file, wx.ID_ANY, u"Nová publikace"+ u"\t" + u"Ctrl+Shift+N", wx.EmptyString, wx.ITEM_NORMAL )
		self.menu_file.AppendItem( self.menu_fileNewBook )
		
		self.menu_fileSync = wx.MenuItem( self.menu_file, wx.ID_ANY, u"Synchronizovat"+ u"\t" + u"Ctrl+Shift+S", u"Provede synchronizaci s online databází", wx.ITEM_NORMAL )
		self.menu_file.AppendItem( self.menu_fileSync )
		
		self.menu_fileExit = wx.MenuItem( self.menu_file, wx.ID_ANY, u"Konec"+ u"\t" + u"Alt+F4", wx.EmptyString, wx.ITEM_NORMAL )
		self.menu_file.AppendItem( self.menu_fileExit )
		
		self.m_menubar1.Append( self.menu_file, u"Soubor" ) 
		
		self.menu_help = wx.Menu()
		self.menu_helpAbout = wx.MenuItem( self.menu_help, wx.ID_ANY, u"O programu", u"Zobrazí informace o programu", wx.ITEM_NORMAL )
		self.menu_help.AppendItem( self.menu_helpAbout )
		
		self.m_menubar1.Append( self.menu_help, u"Nápověda" ) 
		
		self.SetMenuBar( self.m_menubar1 )
		
		
		self.Centre( wx.BOTH )
	
	def __del__( self ):
		pass
	
	def m_splitter10OnIdle( self, event ):
		self.m_splitter10.SetSashPosition( 186 )
		self.m_splitter10.Unbind( wx.EVT_IDLE )
	
	def m_splitter11OnIdle( self, event ):
		self.m_splitter11.SetSashPosition( 123 )
		self.m_splitter11.Unbind( wx.EVT_IDLE )
	
	def list_booksOnContextMenu( self, event ):
		self.list_books.PopupMenu( self.menu_booksList, event.GetPosition() )
		
	def m_splitter3OnIdle( self, event ):
		self.m_splitter3.SetSashPosition( 166 )
		self.m_splitter3.Unbind( wx.EVT_IDLE )
	

###########################################################################
## Class dialog_login
###########################################################################

class dialog_login ( wx.Dialog ):
	
	def __init__( self, parent ):
		wx.Dialog.__init__ ( self, parent, id = wx.ID_ANY, title = u"Zadejte přihlašovací údaje", pos = wx.DefaultPosition, size = wx.DefaultSize, style = wx.DEFAULT_DIALOG_STYLE )
		
		self.SetSizeHintsSz( wx.DefaultSize, wx.DefaultSize )
		
		bSizer25 = wx.BoxSizer( wx.VERTICAL )
		
		self.m_staticText15 = wx.StaticText( self, wx.ID_ANY, u"Vítejte v poznámkovém bloku o knihách!\n\nPro pokračování prosím zadejte své přihlašovací údaje\n(údaje pro přihlášení na Google účet)", wx.DefaultPosition, wx.DefaultSize, wx.ALIGN_CENTRE )
		self.m_staticText15.Wrap( -1 )
		bSizer25.Add( self.m_staticText15, 0, wx.ALL, 5 )
		
		fgSizer5 = wx.FlexGridSizer( 2, 2, 0, 0 )
		fgSizer5.AddGrowableCol( 1 )
		fgSizer5.SetFlexibleDirection( wx.BOTH )
		fgSizer5.SetNonFlexibleGrowMode( wx.FLEX_GROWMODE_SPECIFIED )
		
		self.m_staticText18 = wx.StaticText( self, wx.ID_ANY, u"Login:", wx.DefaultPosition, wx.DefaultSize, 0 )
		self.m_staticText18.Wrap( -1 )
		fgSizer5.Add( self.m_staticText18, 0, wx.ALL, 5 )
		
		self.text_login = wx.TextCtrl( self, wx.ID_ANY, wx.EmptyString, wx.DefaultPosition, wx.DefaultSize, 0 )
		fgSizer5.Add( self.text_login, 0, wx.ALL|wx.EXPAND, 5 )
		
		self.m_staticText19 = wx.StaticText( self, wx.ID_ANY, u"Heslo:", wx.DefaultPosition, wx.DefaultSize, 0 )
		self.m_staticText19.Wrap( -1 )
		fgSizer5.Add( self.m_staticText19, 0, wx.ALL, 5 )
		
		self.text_password = wx.TextCtrl( self, wx.ID_ANY, wx.EmptyString, wx.DefaultPosition, wx.DefaultSize, wx.TE_PASSWORD )
		fgSizer5.Add( self.text_password, 0, wx.ALL|wx.EXPAND, 5 )
		
		bSizer25.Add( fgSizer5, 1, wx.EXPAND, 5 )
		
		bSizer26 = wx.BoxSizer( wx.HORIZONTAL )
		
		self.button_ok = wx.Button( self, wx.ID_ANY, u"OK", wx.DefaultPosition, wx.DefaultSize, 0 )
		bSizer26.Add( self.button_ok, 0, wx.ALL, 5 )
		
		self.button_cancel = wx.Button( self, wx.ID_ANY, u"Storno", wx.DefaultPosition, wx.DefaultSize, 0 )
		bSizer26.Add( self.button_cancel, 0, wx.ALL, 5 )
		
		bSizer25.Add( bSizer26, 0, wx.ALIGN_RIGHT, 5 )
		
		self.SetSizer( bSizer25 )
		self.Layout()
		bSizer25.Fit( self )
		
		self.Centre( wx.BOTH )
	
	def __del__( self ):
		pass
	

